.translate-enter {
  transform: translateX(-100%);
  opacity: 0;
}

.translate-enter-active {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.5s ease-out;
}

/* 退出动画 */
.translate-exit {
  transform: translateX(0);
  opacity: 1;
}

.translate-exit-active {
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.5s ease-in;
}
